package com.wj.dubbo.service.welfareshop.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 云中鹤订单表
 * </p>
 *
 * @author lee
 * @since 2017-05-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("ws_yzh_order")
public class WsYzhOrder extends Model<WsYzhOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	private String id;
    /**
     * 系统订单编号
     */
	@TableField("sys_order_no")
	private String sysOrderNo;
    /**
     * 云中鹤父订单编号
     */
	@TableField("parent_order_no")
	private String parentOrderNo;
    /**
     * 云中鹤订单编号
     */
	@TableField("order_no")
	private String orderNo;
    /**
     * 0：待发货,1：待收货,2：已完成、3：售后中、4：已退款、5：部分退款
     */
	@TableField("my_status")
	private String myStatus;
    /**
     * waiting_pay:等待付款,  waiting_shipment:等待发货, waiting_confirmed:等待确认收货, completed:订单已完成, canceld:订单作废, cancled_before_pay:订单关闭, after_sale_service:售后服务中
     */
	@TableField("yzh_status")
	private String yzhStatus;
    /**
     * 总金额
     */
	@TableField("total_amt")
	private BigDecimal totalAmt;
    /**
     * 运费
     */
	@TableField("freight_amt")
	private BigDecimal freightAmt;
    /**
     * 备注
     */
	private String remark;
    /**
     * 创建时间(支付时间)
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;



	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
